package com.ticketbooking.entity;

import javax.persistence.*;

@Entity
@Table(name = "roleinf" , schema = "ticketbooking")
public class RoleInfEntity {
  private String roleid;
  private String rolecode;
  private String role;

  @Id
  @Column(name = "roleid")
  public String getRoleid() {
    return roleid;
  }

  public void setRoleid(String roleid) {
    this.roleid = roleid;
  }

  @Basic
  @Column(name = "rolecode")
  public String getRolecode() {
    return rolecode;
  }

  public void setRolecode(String rolecode) {
    this.rolecode = rolecode;
  }

  @Basic
  @Column(name = "role")
  public String getRole() {
    return role;
  }

  public void setRole(String role) {
    this.role = role;
  }
}
